<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BTextFormat</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BTextFormat">
			<h1>BTextFormat</h1>
			<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume">BTextFormat是文本格式化工具，通过自定义的格式化类为文本赋予颜色、字体、背景色等。<a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BTextFormat()">BTextFormat</a>();</td></tr>
				<tr><td align="right"></td><td><a href="#BTextFormat(const BString&)">BTextFormat</a>(const BString& name);</td></tr>
				<tr><td align="right"></td><td><a href="#~BTextFormat()">~BTextFormat</a>();</td></tr>
				<tr><td align="right">BWidget* </td><td><a href="#host()">host</a>();</td></tr>
				<tr><td align="right">const BWidget* </td><td><a href="#host()">host</a>() const;</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#styled(const BStyle*)">styled</a>(const BStyle* style) = 0;</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#changed(const BString&)">changed</a>(const BString& text) = 0;</td></tr>
				<tr><td align="right">virtual const BFont* </td><td><a href="#font(int)">font</a>(int pos) const;</td></tr>
				<tr><td align="right">virtual const BColor* </td><td><a href="#color(int)">color</a>(int pos) const;</td></tr>
				<tr><td align="right">virtual const BColor* </td><td><a href="#ground(int)">ground</a>(int pos) const;</td></tr>
				<tr><td align="right">virtual Align </td><td><a href="#lineAlign(int)">lineAlign</a>(int line) const;</td></tr>
				<tr><td align="right">virtual int </td><td><a href="#lineSpacing(int)">lineSpacing</a>(int line) const;</td></tr>
				<tr><td align="right">virtual int </td><td><a href="#lineHeight(int)">lineHeight</a>(int line) const;</td></tr>
			</table>
			<h2>protected</h2>
			<table id="protected">
				<tr><td align="right">virtual void </td><td><a href="#attached(BWidget*)">attached</a>(BWidget* host);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#detached(BWidget*)">detached</a>(BWidget* host);</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
				<p>BTextFormat是文本格式化工具，通过自定义的格式化类为文本赋予颜色、字体、背景色等。</p>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BTextFormat()">
				<h3>BTextFormat();</h3>
			</div>
			<div id="BTextFormat(const BString&)">
				<h3>BTextFormat(const BString&amp; name);</h3>
			</div>
			<div id="~BTextFormat()">
				<h3>~BTextFormat();</h3>
			</div>
			<div id="host()">
				<h3>BWidget* host();</h3>
			</div>
			<div id="host()">
				<h3>const BWidget* host() const;</h3>
			</div>
			<div id="styled(const BStyle*)">
				<h3>virtual void styled(const BStyle* style) = 0;</h3>
			</div>
			<div id="changed(const BString&)">
				<h3>virtual void changed(const BString&amp; text) = 0;</h3>
			</div>
			<div id="font(int)">
				<h3>virtual const BFont* font(int pos) const;</h3>
			</div>
			<div id="color(int)">
				<h3>virtual const BColor* color(int pos) const;</h3>
			</div>
			<div id="ground(int)">
				<h3>virtual const BColor* ground(int pos) const;</h3>
			</div>
			<div id="lineAlign(int)">
				<h3>virtual Align lineAlign(int line) const;</h3>
			</div>
			<div id="lineSpacing(int)">
				<h3>virtual int lineSpacing(int line) const;</h3>
			</div>
			<div id="lineHeight(int)">
				<h3>virtual int lineHeight(int line) const;</h3>
			</div>
			<div id="attached(BWidget*)">
				<h3>virtual void attached(BWidget* host);</h3>
			</div>
			<div id="detached(BWidget*)">
				<h3>virtual void detached(BWidget* host);</h3>
			</div>
		</div>
	</body>
</html>